package com.vue.vuedemo.service;

import com.vue.vuedemo.pojo.Persons;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonService {

    List<Persons> findAll();

    Persons login(String username,String password);

    Persons idFindAll(Integer id);

    void add(Persons persons);

    void del(Integer id);

    Persons usernameFindAll(String username);

    void updatePassword(String password,Integer id);

    void tuanDuiAdd(Persons persons);

    Persons ManagerLogin(String username,String password);

    List<Persons> FirendPersonsFindAll(Integer fUserId);

}
